{include file="public/meat" title="微信素材管理"/}
<div class="x11 pad-t15 pad-b10">
    <div class="cx-fex-l pad-l10">
        <a href="{:url('savemedia')}" class="button bg-blue">同步微信素材</a>
    </div>
</div>
<div class="cx-fex-c">
    <div class="x11 pad-t25">
        <div class="layout cx-fex-l">
        {volist name="list" id="cx" empty=""}
            <div class="xs3" style="padding: 10px;">
                <div class="layout fex-column" style="padding: 10px;border: 1px solid #dfdfdf;">
                    {volist name="cx.cont" id="c" empty=""}
                    {gt name="cx.num" value="1"}
                    {eq name="$i" value="1"}
                    <div class="layout pos-r">
                        <img src="{$c.thumb_url}" alt="" style="width: 100%;height: 75%">
                        <span class="layout pos-a" style="background: rgba(0,0,0,0.6);bottom: 0;left: 0;color: #fff;line-height: 30px;">{$c.title}</span>
                    </div>
                    {else /}
                    <div class="layout cx-fex" style="padding: 10px 0">
                        <div class="x8 cx-fex-c fex-items-c" style="flex-grow: 2"><h3>{$c.title}</h3></div>
                        <div class="x4" style="flex-grow: 1">
                            <img class="img-responsive" src="{$c.thumb_url}" alt="">
                        </div>
                    </div>
                    {/eq}
                    {else /}
                    <div class="layout fex-column">
                        <h3>{$c.title}</h3>
                        <img class="img-responsive" src="{$c.thumb_url}" alt="">
                        <div class="layout t-gray">{$c.digest}</div>
                    </div>
                    {/gt}
                    {/volist}
                </div>
            </div>
        {/volist}
        </div>
    </div>
</div>
<div style="height: 20px; overflow: hidden"></div>
{include file="public/js" /}
<script>
    layui.config({
        base: '__ADMIN__/js/'
    }).use('app');
</script>
{include file="public/footer" /}